﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data.Entity;
using System.Data;
using System.Reflection.Emit;
using System.Reflection;

namespace RooHui.Infrastructure.Entities.EFContext
{
    public static class ContextExtensions
    {
        public static UpdateContext<T> Update<T>(this Context ctx) where T : class
        {
            return new UpdateContext<T>(ctx);
        }

        public static DeleteContext<T> Delete<T>(this Context ctx) where T : class
        {
            return new DeleteContext<T>(ctx);
        }
    }
}
